<style>
	.profile-avatar-container {
		position:relative;
		width:100px;
	}
	.profile-avatar-container .profile-user-img{
		width:100px;
		height:100px;
	}
	.profile-avatar-container .profile-avatar-text {
		display:none;
	}
	.profile-avatar-container:hover .profile-avatar-text {
		display:block;
		position:absolute;
		height:100px;
		width:100px;
		background:#444;
		opacity: .6;
		color: #fff;
		top:0;
		left:0;
		line-height: 100px;
		text-align: center;
	}
	.profile-avatar-container button{
		position:absolute;
		top:0;left:0;width:100px;height:100px;opacity: 0;
	}
</style>
<div id="content-container" class="container" style="margin-top:60px">
	<div class="row">
		<div class="col-md-3">
			{include file="common/sidenav" /}
		</div>
		<input id='ajax_url' type='hidden' value="{:url('user/mymeet')}">
		<div class="col-md-9">
			<div class="panel panel-default">
				<div class="panel-body">
					<h2 class="page-header">选择支付方式</h2>
					<div id="myTabContent" class="tab-content">
						<div class="tab-pane fade active in" id="one">
							<div class="widget-body no-padding">
								<!-- <div id="toolbar" class="toolbar">
                                    <a class="btn btn-info btn-disabled disabled btn-selected" href="javascript:;"><i class="fa fa-leaf"></i> 获取选中项</a>
                                    <a class="btn btn-success btn-toggle-view" href="javascript:;"><i class="fa fa-leaf"></i> 切换视图</a>
                                </div> -->
								<table id="table" class="table table-striped table-hover" width="100%">
									<div class="col-sm-8 col-md-8">
										<div class="thumbnail example" >
											<div class="caption">
												<h4 style="padding:5px">申请招聘：<!-- <i class="fa fa-institution"></i> --> {$recruit_row.recruit_title}</h4>
												<h4 style="padding:5px">申请岗位：<!-- <i class="fa fa-group"></i> --> {$apply_row.recruit_post}</h4>
												<h4 style="padding:5px">应付金额：<!-- <i class="fa fa-euro"></i> --> <font color=red> {$recruit_row.exam_cost}RMB</font></h4>
												<p style="padding:5px">
													<form method="post" action="">
														<input name='amount' type='hidden' value='{$recruit_row.exam_cost}'>
														<input name='apply_id' type='hidden' value='{$apply_row.apply_id}'>
														<font size=3>支付方式：</font>
														<button type="button" onclick="topay(this)" data_url="{:url('pay/alipay')}" class="btn btn-primary btn-info btn-detail" ><i class="fa fa-cc-paypal"></i> 支付宝支付</button>
														<button type="button" onclick="topay(this)" data_url="{:url('wxindex/index')}" class="btn btn-primary btn-success btn-detail" ><i class="fa fa-weixin"></i> 微信支付</button>
													</form>
												</p>
											</div>
										</div>
									</div>
								</table>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<style type="text/css">
	.example {
		height:100%;position: relative;
	}
	.example > span {
		position:absolute;left:15px;top:15px;
	}
</style>
<script>
    function topay(a){
    	$url=$(a).attr('data_url');
    	$("form").attr('action',$url);
    	$("form").submit();
    };
</script>